

.backHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    font-size: 18px;
    color: #fff;
    background-color: #d80b2a;
    z-index: 100
}

.backHeader>img {
    left: .8rem;
    height: 30px;
    padding: 6px
}

.backHeader>img,.backHeader>span {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

.backHeader>span {
    left: calc(.8rem + 35px);
    max-width: 15rem
}

.backHeader>span>img {
    width: 11px;
    margin-left: .25rem;
    -webkit-transform: rotate(0);
    transform: rotate(0);
    transition: .1s
}

.backHeader>span>img.on {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: .1s
}

.backHeader>div {
    position: absolute;
    top: 10px;
    right: .8rem;
    font-size: 13px;
    line-height: 24px
}

.backHeader>div>img {
    position: absolute;
    left: -28px;
    height: 24px
}

.backHeader>div>img.icon_mytouzhu {
    left: -65px
}

@media screen and (max-width: 350px) {
    .backHeader {
        font-size:16px
    }

    .backHeader>span {
        left: calc(.8rem + 25px)
    }

    .backHeader>span>img {
        margin-left: 0
    }
}

.backHeader>div>img.icon_caizhong {
    left: -24px
}

.buy_bg{
    position: fixed;
    top: 44px;
    bottom: 0;
    width: 100%;
    background: url(../img/bg_buy.png);
    background-size: 1.5%;
    z-index: -10;
}



.buy_bg .wanfa_bg{
    position: fixed;
    top: 125px;
    bottom: 0;
    left: 0;
    width: 5.5rem;
    border-right: 1px solid #022d37;
    background: url(../img/bg_wanfa.jpg) no-repeat;
    background-size: cover;
}

.tabs{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: fixed;
    top: 44px;
    width: 100%;
    border-bottom: 1px solid #022d37;
    background: url(../img/bg_tabs.png) no-repeat;
    background-size: 100% 80px;
    z-index: 10;
}

.tabs>div{
    position: relative;
    width: 12.5rem;
    padding: 5px 0;
    font-size: 12px;
    line-height: 26px;
    color: #96dced;
    text-align: center;
}

.tabs .lottery_result ul{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 1.65rem;
    max-height: 33px;
    margin-top:0;
}


.tabs .lottery_result ul li{
    width: 1.35rem;
    max-width: 27px;
    height: 1.35rem;
    max-height: 27px;
    margin-right: .25rem;
    font-size: 15px;
    line-height: 27px;
    background: url(../img/num_liuhecai_gray.png) no-repeat;
    background-size: cover;
}

.tabs .lottery_result ul li.red{
    color: #d80b2a;
    background: url(../img/num_liuhecai_red.png) no-repeat;
    background-size: cover;
}


.tabs .lottery_result ul li.gre{
    color: #138628;
    background: url(../img/num_liuhecai_gre.png) no-repeat;
    background-size: cover;
}
    
.tabs .lottery_result ul li.blue{
    color: #0283ff;
    background: url(../img/num_liuhecai_blue.png) no-repeat;
    background-size: cover;
}

.tabs .lottery_result ul li:last-child{
    margin-right: 0;
}

.tabs .lottery_result ul li.symbol{
    width: .75rem;
    max-width: 15px;
    margin-right: 0;
    font-size: 12px;
    background: none;
    box-shadow: none;
}


.tabs .lottery_result ul li p{
    padding-top: 2px;
    font-size: 12px;
    line-height: 15px;
    color: #fff;
}

.tabs .lottery_countdown{
    width: 6.25rem;
    padding-top: 12px;
    line-height: 14px;
} 

.tabs .lottery_countdown p{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 35px;
    font-size: 15px;
    line-height: 35px;
}

@font-face {
    font-family: countFont;
    src: url(../fonts/DISPLAY_FREE_TFB.ttf)
}
.tabs .lottery_countdown .num{
    width: 25px;
    font-size: 20px;
    font-family: countFont;
}

.tabs .lottery_countdown i{
    position: relative;
    top: 2px;
    width: 3px;
    margin: 0 5px;
}




.xuanma_wanfa {
    position: fixed;
    top: 125px;
    bottom: 50px;
    left: 0;
    width: calc(5rem - 1px);
    margin: 0;
    z-index: 10
}


.xuanma_wanfa.on {
    bottom: 100px
}

.xuanma_wanfa .swiper-container {
    height: 100%
}

.xuanma_wanfa .swiper-slide {
    height: 45px;
    font-size: 15px;
    line-height: 45px;
    color: #96dced;
    text-align: center;
    background: linear-gradient(top,#0f98b6,#17a7c9 29%,#0f99b6 30%,#11738a);
    background: -webkit-linear-gradient(top,#0f98b6,#17a7c9 29%,#0f99b6 30%,#11738a)
}

.xuanma_wanfa .swiper-slide.on {
    color: #f1e67c;
    background: url(../img//bg_wanfa_btn.png) no-repeat;
    background-size: cover
}
.xuanma_wanfa {
    width: calc(5.5rem - 1px);
}



.sub_wanfa, .wanfa_btn {
    position: fixed;
    top: 125px;
    right: 0;
    width: 13.75rem;
    height: 38px;
    line-height: 37px;
    color: #96dced;
    border-bottom: 1px solid #0a3f4c;
}
.sub_wanfa .swiper-slide div, .wanfa_btn {
    text-align: center;
}
.wanfa_btn{
    width: 13.25rem;
}
.wanfa_btn {
    font-size: 15px;
}



.xuanma_btns {
    position: fixed;
    top: 163px;
    bottom: 50px;
    right: 0;
    width: 13.25rem;
    padding-bottom: 78px;
    overflow: scroll;
    -webkit-overflow-scrolling: touch
}

.xuanma_btns.on {
    bottom: 100px;
    padding-bottom: 10px
}

.xuanma_btns li {
    position: relative;
    /* display: inline-block; */
    width: 50%;
    height: 46px;
    padding: .5px;
    font-size: 11px;
    line-height: 46px;
    color: #00394c;
    float: left;
}

.xuanma_btns li:before {
    border-color: #0a3f4c
}


.xuanma_btns li.big {
    width: 100%
}

.xuanma_btns li.small {
    width: 33.33%
}

.xuanma_btns li div {
    height: 45px;
    text-align: center
}

.xuanma_btns li.on div {
    color: #f1e67c;
    background: rgba(8,65,80,.6)
}

.xuanma_btns li div:after,.xuanma_btns li div:before {
    border-color: #00bbe9
}

.xuanma_btns li span.num {
    display: inline-block;
    width: 27px;
    margin-right: 5px;
    font-size: 15px;
    line-height: 27px;
    color: #333;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 2px rgba(0,0,0,.2)
}


.xuanma_btns li:before {
    border-color: #0a3f4c
}

 .xuanma_btns li:after {
    left: auto;
    right: 0;
    border-color: #0a3f4c;
}


.tabs .lottery_result ul li.red,
.xuanma_btns li span.num.red {
    background: url(../img/num_liuhecai_red.png) no-repeat;
    background-size: cover
}

.tabs .lottery_result ul li.red,
.xuanma_btns div.on span.num.red {
    color: #d80b2a
}

.tabs .lottery_result ul li.blue,
.xuanma_btns li span.num.blue {
    background: url(../img/num_liuhecai_blue.png) no-repeat;
    background-size: cover
}

.tabs .lottery_result ul li.blue,
.xuanma_btns div.on span.num.blue {
    color: #0283ff
}

.tabs .lottery_result ul li.gre,
.xuanma_btns li span.num.gre {
    background: url(../img/num_liuhecai_gre.png) no-repeat;
    background-size: cover
}

.tabs .lottery_result ul li.gre,
.xuanma_btns div.on span.num.gre {
    color: #138628
}

.tabs .lottery_result ul li:last-child,
.tabs .lottery_result ul li:nth-child(6) {
    margin-right: 0
}

.xuanma_btns li span.text {
    margin-right: 8px;
    font-size: 15px;
    color: #333
}

.xuanma_btns li div.on span.text {
    color: #f1e67c
}


/***

    底部按钮栏

**/
.bottom_menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    line-height: 50px;
    color: #999;
    background: #2a2d32;
    z-index: 20
}

.bottom_menu .btn_clear {
    width: 2.5rem;
    padding-top: 8px;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    background: #414247
}

.bottom_menu .btn_clear img {
    height: 20px
}

.bottom_menu .info {
    width: 10.25rem;
    text-align: center
}

.bottom_menu .info span {
    margin: 0 5px;
    color: #d73124
}

.bottom_menu .btn_touzhu {
    width: 6rem;
    font-size: 15px;
    color: #fff;
    text-align: center;
    background: #d80b2a
}



/* 输入金额*/
.money_input {
    position: fixed;
    bottom: 50px;
    width: 100%;
    height: 0;
    padding: 0 .8rem;
    font-size: 12px;
    line-height: 50px;
    color: #96dced;
    background: rgba(3,32,39,.5);
    z-index: 10;
    overflow: hidden;
    transition: .1s
}

.money_input.on {
    height: 50px;
    transition: .1s
}

.money_input>input {
    width: 5rem;
    height: 30px;
    margin: 0 10px;
    padding: 0 5px;
    background: #fff;
    border-radius: 2px
}



/* 弹出框*/

.bg,.tire {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0,0,0,.6);
    z-index: 100
}


.alert_tip.jiezhi,
.alert_tip.success {
    -webkit-transform: translate(-50%,-50%) scale(0);
    transform: translate(-50%,-50%) scale(0);
    transition: .1s
}

.alert_tip.jiezhi.on,
.alert_tip.success.on {
    -webkit-transform: translate(-50%,-50%) scale(1);
    transform: translate(-50%,-50%) scale(1);
    transition: .1s
}

.alert_tip {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 280px;
    padding: 0 1rem;
    border-radius: 4px;
    background: #fff;
    z-index: 1000
}

.alert_title {
    padding: 20px 0 11px;
    font-size: 16px;
    font-weight: 700
}

.alert_text {
    color: #666
}

.alert_bottom {
    margin-top: 15px;
    font-size: 15px;
    line-height: 40px;
    color: #008de6;
    text-align: right
}

.alert_bottom span {
    margin-left: 20px
}


#myalert{
    display: none;
}

.money_input {
    /* display: none */
}